//-----------------------------------------------------------------------------
// Bend2D - Physics Engine
// Roberto Bender <beto.bender@gmail.com>
// Description: 
// Date: 11/03/2010
//-----------------------------------------------------------------------------
#include "gravity.h"
#include "bmath.h"
using namespace bend2d;

// 9.8 m/s2 -90 degrees
Acceleration Gravity::m_GravityAcceleration(Math::ConvertRWToBend2D(9.8, Math::mps2), Angle(-90));
void Gravity::ApplyPhysics(Physicable* object)
{
    object->ApplyForce(m_GravityAcceleration);
}
